<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>163邮箱 - 忘记密码</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            color: #333;
        }

        .container {
            background-color: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
            text-align: center;
        }

        .logo {
            margin-bottom: 30px;
        }

        .logo img {
            max-width: 80px;
        }

        h2 {
            margin-bottom: 20px;
            color: #007bff;
        }

        p {
            margin-bottom: 30px;
            color: #666;
        }

        input[type="email"] {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 16px;
        }

        input[type="password"] {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 16px;
        }

        input[type="submit"] {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 5px;
            background-color: #007bff;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }

        .footer {
            margin-top: 20px;
            font-size: 14px;
            color: #999;
        }

        .footer a {
            color: #007bff;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
<div class="container">
    <%--<div class="logo">
        <img src="163_logo.png" alt="163 Logo">
    </div>--%>
    <h2>忘记密码</h2>
    <p>请输入您的电子邮箱地址，我们将发送重置密码的链接到您的邮箱。</p>
    <form action="/reloadpwd" method="post">
        <input type="email" name="um.email" placeholder="电子邮箱地址" required>
        <input type="password" name="um.password" placeholder="请输入新密码" required>
        <input type="password"  placeholder="请再次输入新密码" required>
        <input type="submit" value="立即重置">
    </form>
    <div class="footer">
        <p>还记得密码？ <a href="/index.jsp">立即登录</a></p>
    </div>
</div>
</body>
</html>
